package com.homelock.constants;

/**
 * 振兴锁数据类型
 */
public enum  ZxDateTypeEnum {
    INDICATE(0x04,"指示"),
    OPEN_DOOR(0X00,"开门"),
    CLOSE_DOOR(0x01,"关门"),
    ALARM_DOOR(0x02,"报警"),
    REMOTE_OPEN(0x03,"远程开门");
    int code;
    String desc;

    private ZxDateTypeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
